home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-06 / charon40.zip / FILTER.MAK < prev    next >
Text File  |  1992-03-26  |  1KB  |  49 lines

  1. # Makefile for filters
  2. #
  3. LIB    = e:\borlandc\lib
  4. INC    = e:\borlandc\include
  5. CFLAGS =   -I$(INC) -mt -r -O 
  6. LFLAGS = /m/s/d
  7. CC     = bcc
  8. LINK   = tlink
  9. ASM    = tasm
  10. AFLAGS = /Mx
  11.  
  12. # Make rules
  13.  
  14. .c.obj:
  15.     $(CC)  $(CFLAGS) -c {$< }
  16.  
  17.  
  18. .asm.obj:
  19.     $(ASM) $(AFLAGS) $<
  20.  
  21. all: filtnone.bin txt2ps.bin tagchg.bin lf2crlf.bin prt2mail.bin
  22.  
  23. filtnone.bin : filtnone.obj callback.obj xlate.obj
  24.     $(LINK) $(LFLAGS) xlate+callback+filtnone,filtnone, filtnone, $(LIB)\cs
  25.     exe2bin filtnone.exe filtnone.bin
  26.     del filtnone.exe
  27.  
  28. prt2mail.bin : prt2mail.obj callback.obj xlate.obj
  29.     $(LINK) $(LFLAGS) xlate+callback+prt2mail,prt2mail, prt2mail, $(LIB)\cs
  30.     exe2bin prt2mail.exe prt2mail.bin
  31.     del prt2mail.exe
  32.  
  33.  
  34. tagchg.bin : tagchg.obj callback.obj xlate.obj
  35.     $(LINK) $(LFLAGS) xlate+callback+tagchg,tagchg, tagchg, $(LIB)\cs
  36.     exe2bin tagchg.exe tagchg.bin
  37.     del tagchg.exe
  38.  
  39. lf2crlf.bin : lf2crlf.obj callback.obj xlate.obj
  40.     $(LINK) $(LFLAGS) xlate+callback+lf2crlf,lf2crlf, lf2crlf, $(LIB)\cs
  41.     exe2bin lf2crlf.exe lf2crlf.bin
  42.     del lf2crlf.exe
  43.  
  44.  
  45. txt2ps.bin : txt2ps.obj callback.obj xlate.obj
  46.     $(LINK) $(LFLAGS) xlate+callback+txt2ps,txt2ps, txt2ps, $(LIB)\cs
  47.     exe2bin txt2ps.exe txt2ps.bin
  48.     del txt2ps.exe
  49.